<?php
// @formatter:off
/**
 * @file rc.php
 * @author Alejandro Dario Simi
 * @date $Date: 2013-07-05 14:30:06 +0000 (Fri, 05 Jul 2013) $
 *
 * $Id: rc.php 89 2013-07-05 14:30:06Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/tags/wcomix-1.0/extensions/RelatedComics/rc.php $
 */
// @formatter:on

function RelatedComics_Checker() {
	global $wcAction;
	global $wcComic;
	global $wcThemeAssigns;
	//
	// Only index, mobile and others are not allowed.
	$ok = defined("__INDEX__") && $wcComic && in_array($wcAction, array(WC_ACTION_COMIC_SHOW));

	$wcThemeAssigns["WC_E_RELATED_COMICS_URI"] = WC_E_RELATED_COMICS_URI;

	return $ok;
}
?>